package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商户列表 hatchet_merchant
 * 
 * @author ruoyi
 * @date 2019-02-18
 */
public class HatchetMerchant extends BaseEntity implements Comparable<HatchetMerchant>
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String iD;
	/** 商户编号 */
	@Excel(name = "用户编号")
	private String merchantNo;
	/** 商户名称 */
	@Excel(name = "用户名称")
	private String merchantCnName;
	/** 商户英文名称 */
	private String merchantEnName;
	/** 商户简称 */
	private String merchantShortName;
	/** 户籍所在省 */
	private String domicileProvince;
	/** 户籍所在市 */
	private String domicileCity;
	/**  */
	private String domicileDistrict;
	/** 加权分红本金 */
	private BigDecimal cAPITAL;
	/** 省份id */
	private String provinceId;
	/**  */
	private String cityId;
	/** 地区id */
	private String districtId;
	/** 详细地址 */
	private String addrDetail;
	/** 坐标 */
	private String cOORDINATE;
	/** 联系人 */
	private String linkPerson;
	/** 联系电话 */
	private String linkPhone;
	/** 商户类型 */
	private String merchantType;
	/** 银行详细 */
	private String bankDetail;
	/** 银行账户名称 */
	private String bankAccountName;
	/**  */
	private String merchantMcc;
	/** 审核状态 */
	private String merchantStatus;
	/** 最后更新时间 */
	private Date lastUpdateTime;
	/** 结算周期 */
	private Integer settleCycle;
	/** 代理商id */
	private String agentId;
	/**  */
	//借用字段显示高级经纪人对用户的备注名称
	private String agentSalesName;
	/**  */
	private Integer riskControlGrade;
	/**  */
	private String invoicePrintName;
	/**  */
	private Date createTime;
	/**  */
	private Integer bankSettleType;
	/**  */
	private String eMAIL;
	/** 电话 */
	@Excel(name = "用户电话")
	private String pHONE;
	/**  */
	private String serviceScopeItem;
	/** 银行账户 */
	@Excel(name = "银行账户")
	private String bankAccount;
	/**  */
	private String cORPORATE;
	/**  */
	private String sTATUS;
	/** 开户银行 */
	private String bankCode;
	/**  */
	private String useStatus;
	/**  */
	private String createUserId;
	/**  */
	private String salesmanId;
	/**  */
	private String departmentCode;
	/**  */
	private String settleStatus;
	/**  */
	private String serviceScopeName;
	/**  */
	private String rEMARKS;
	/**  */
	private String mCC;
	/**  */
	private BigDecimal rATE;
	/**  */
	private String bankProvinceId;
	/**  */
	private String bankDistrictId;
	/**  */
	private String bankCityId;
	/** 银行账户类型 */
	private String bankAccountType;
	/** 开户行网点 */
	private String bankDot;
	/** 封顶金额 */
	private Integer maxFee;
	/** 营业执照号 */
	private String businessLicenseNo;
	/**  */
	private String authTrxType;
	/**  */
	private String authCardType;
	/**  */
	/**  */
	private String idCardNumber;
	/** 密码 */
	private String pASSWD;
	/** 营业执照开始日期 */
	private Date businessLicenseBeginTime;
	/** 营业执照结束日期 */
	private Date businessLicenseEndTime;
	/** 法人 */
	private String artificialPerson;
	/** 公司注册地址 */
	private String companyRegistrationAddress;
	/** 法人身份证号 */
	private String artificialPersonCardNumber;
	/** 税务登记证 */
	private String taxRegistrationNo;
	
	private Date examinePassTime;
	/** 升级黄金会员时间 */
	private Date submitExamineTime;
	/** 升级经纪人时间 */
	private Date submitReexamineTime;
	/**  */
	private String merchantSource;
	/**  */
	private String reexamineResult;
	/**  */
	private String productShort; //
	/**  */
	private String changeReason;
	/**  */
	private Integer convertCount;
	/**  */
	private String withdrawStatus;
	/**  */
	private String increaseLimitStatus;
	/**  */
	private String freezeStatus;
	/**  */
	private String rcexamineResult;
	/**  */
	private String auditRecord;
	/**  */
	private Integer creditMaxFee;
	//借用字段显示用户订单总金额
	@Excel(name = "交易总金额")
	private BigDecimal creditRate;
	/**  */
	private Integer debitMaxFee;
	/**  */
	private BigDecimal debitRate;
	/**  */
	private Integer t0CreditMaxFee;
	/**  */
	private BigDecimal t0CreditRate;
	/**  */
	private BigDecimal t0DebitRate;
	/**  */
	private Integer t0DebitMaxFee;
	/**  */
	private BigDecimal procedureFee;
	/** 商户账户总金额 */
	private BigDecimal totalMoney;
	/** 商户等级 */
	@Excel(name = "用户等级")
	private String lEVEL;
	/** 推荐人手机号码 */
	private String parentPhone;
	/** 是否变更过0为没有变更过，1为有变更 */
	private String isChange;
	/** 是否为推广员 */
	private Integer isTuiguang;
	/** 无卡费率 */
	private BigDecimal wkRate;
	//借用字段
	/** 是否是经理人10A待审核 10B审核成功(是经理人) 10C审核不通过*/
	private String isValid;
	private Date validTime;
	
	/** 如0.5+1 */
	private String ykRate;
	/** 养卡手续费 */
	private BigDecimal ykBalance;
	/** 升级码数量 */
	private String upgradeCodeNum;
	// 默认值：0/0/0/0/0/0/0/0/0/0
	// 升级/还款/快捷/信用卡/贷款/积分/备用1/备用2/备用3/备用4
	private String examineResult;//商户对经纪人的总贡献
	/**  */
	private String chinaRegionId;//商户对经纪人的月贡献
	
	//非数据库字段
	private String agentNo; //代理编号
	private String agentName; //代理名称
	private String parentName; //推荐人姓名
	private String bankName;//银行名称
	/**  01直接  02间接  */
	private String direct;//代理商关系
	private String paramAgentId;//区分直接代理和间接代理 查询字段
	@Excel(name = "活跃度")
	private String liveness ;//用户活跃度  例如：三天 1周  半年  
	//临时字段 总分润金额
	private BigDecimal sumMoney;
	//临时字段起始时间
	private String startTime;
	//临时字段结束时间
	private String endTime;
	//临时字段结束时间
	private String moneyType;
	//临时字段经纪人id
	private String borkerId;
	//临时字段是否实名认证用户 01已认证 02.未认证 03已绑卡
	private String isActive;
	
	public void setID(String iD) 
	{
		this.iD = iD;
	}

	public String getID() 
	{
		return iD;
	}
	public void setMerchantNo(String merchantNo) 
	{
		this.merchantNo = merchantNo;
	}

	public String getMerchantNo() 
	{
		return merchantNo;
	}
	public void setMerchantCnName(String merchantCnName) 
	{
		this.merchantCnName = merchantCnName;
	}

	public String getMerchantCnName() 
	{
		return merchantCnName;
	}
	public void setMerchantEnName(String merchantEnName) 
	{
		this.merchantEnName = merchantEnName;
	}

	public String getMerchantEnName() 
	{
		return merchantEnName;
	}
	public void setMerchantShortName(String merchantShortName) 
	{
		this.merchantShortName = merchantShortName;
	}

	public String getMerchantShortName() 
	{
		return merchantShortName;
	}
	public void setDomicileProvince(String domicileProvince) 
	{
		this.domicileProvince = domicileProvince;
	}

	public String getDomicileProvince() 
	{
		return domicileProvince;
	}
	public void setDomicileCity(String domicileCity) 
	{
		this.domicileCity = domicileCity;
	}

	public String getDomicileCity() 
	{
		return domicileCity;
	}
	public void setDomicileDistrict(String domicileDistrict) 
	{
		this.domicileDistrict = domicileDistrict;
	}

	public String getDomicileDistrict() 
	{
		return domicileDistrict;
	}
	public void setCAPITAL(BigDecimal cAPITAL) 
	{
		this.cAPITAL = cAPITAL;
	}

	public BigDecimal getCAPITAL() 
	{
		return cAPITAL;
	}
	public void setProvinceId(String provinceId) 
	{
		this.provinceId = provinceId;
	}

	public String getProvinceId() 
	{
		return provinceId;
	}
	public void setCityId(String cityId) 
	{
		this.cityId = cityId;
	}

	public String getCityId() 
	{
		return cityId;
	}
	public void setDistrictId(String districtId) 
	{
		this.districtId = districtId;
	}

	public String getDistrictId() 
	{
		return districtId;
	}
	public void setAddrDetail(String addrDetail) 
	{
		this.addrDetail = addrDetail;
	}

	public String getAddrDetail() 
	{
		return addrDetail;
	}
	public void setCOORDINATE(String cOORDINATE) 
	{
		this.cOORDINATE = cOORDINATE;
	}

	public String getCOORDINATE() 
	{
		return cOORDINATE;
	}
	public void setLinkPerson(String linkPerson) 
	{
		this.linkPerson = linkPerson;
	}

	public String getLinkPerson() 
	{
		return linkPerson;
	}
	public void setLinkPhone(String linkPhone) 
	{
		this.linkPhone = linkPhone;
	}

	public String getLinkPhone() 
	{
		return linkPhone;
	}
	public void setMerchantType(String merchantType) 
	{
		this.merchantType = merchantType;
	}

	public String getMerchantType() 
	{
		return merchantType;
	}
	public void setBankDetail(String bankDetail) 
	{
		this.bankDetail = bankDetail;
	}

	public String getBankDetail() 
	{
		return bankDetail;
	}
	public void setBankAccountName(String bankAccountName) 
	{
		this.bankAccountName = bankAccountName;
	}

	public String getBankAccountName() 
	{
		return bankAccountName;
	}
	public void setMerchantMcc(String merchantMcc) 
	{
		this.merchantMcc = merchantMcc;
	}

	public String getMerchantMcc() 
	{
		return merchantMcc;
	}
	public void setMerchantStatus(String merchantStatus) 
	{
		this.merchantStatus = merchantStatus;
	}

	public String getMerchantStatus() 
	{
		return merchantStatus;
	}
	public void setLastUpdateTime(Date lastUpdateTime) 
	{
		this.lastUpdateTime = lastUpdateTime;
	}

	public Date getLastUpdateTime() 
	{
		return lastUpdateTime;
	}
	public void setSettleCycle(Integer settleCycle) 
	{
		this.settleCycle = settleCycle;
	}

	public Integer getSettleCycle() 
	{
		return settleCycle;
	}
	public void setAgentId(String agentId) 
	{
		this.agentId = agentId;
	}

	public String getAgentId() 
	{
		return agentId;
	}
	public void setAgentSalesName(String agentSalesName) 
	{
		this.agentSalesName = agentSalesName;
	}

	public String getAgentSalesName() 
	{
		return agentSalesName;
	}
	public void setRiskControlGrade(Integer riskControlGrade) 
	{
		this.riskControlGrade = riskControlGrade;
	}

	public Integer getRiskControlGrade() 
	{
		return riskControlGrade;
	}
	public void setInvoicePrintName(String invoicePrintName) 
	{
		this.invoicePrintName = invoicePrintName;
	}

	public String getInvoicePrintName() 
	{
		return invoicePrintName;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setBankSettleType(Integer bankSettleType) 
	{
		this.bankSettleType = bankSettleType;
	}

	public Integer getBankSettleType() 
	{
		return bankSettleType;
	}
	public void setEMAIL(String eMAIL) 
	{
		this.eMAIL = eMAIL;
	}

	public String getEMAIL() 
	{
		return eMAIL;
	}
	public void setPHONE(String pHONE) 
	{
		this.pHONE = pHONE;
	}

	public String getPHONE() 
	{
		return pHONE;
	}
	public void setServiceScopeItem(String serviceScopeItem) 
	{
		this.serviceScopeItem = serviceScopeItem;
	}

	public String getServiceScopeItem() 
	{
		return serviceScopeItem;
	}
	public void setBankAccount(String bankAccount) 
	{
		this.bankAccount = bankAccount;
	}

	public String getBankAccount() 
	{
		return bankAccount;
	}
	public void setCORPORATE(String cORPORATE) 
	{
		this.cORPORATE = cORPORATE;
	}

	public String getCORPORATE() 
	{
		return cORPORATE;
	}
	public void setSTATUS(String sTATUS) 
	{
		this.sTATUS = sTATUS;
	}

	public String getSTATUS() 
	{
		return sTATUS;
	}
	public void setBankCode(String bankCode) 
	{
		this.bankCode = bankCode;
	}

	public String getBankCode() 
	{
		return bankCode;
	}
	public void setUseStatus(String useStatus) 
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus() 
	{
		return useStatus;
	}
	public void setCreateUserId(String createUserId) 
	{
		this.createUserId = createUserId;
	}

	public String getCreateUserId() 
	{
		return createUserId;
	}
	public void setSalesmanId(String salesmanId) 
	{
		this.salesmanId = salesmanId;
	}

	public String getSalesmanId() 
	{
		return salesmanId;
	}
	public void setDepartmentCode(String departmentCode) 
	{
		this.departmentCode = departmentCode;
	}

	public String getDepartmentCode() 
	{
		return departmentCode;
	}
	public void setSettleStatus(String settleStatus) 
	{
		this.settleStatus = settleStatus;
	}

	public String getSettleStatus() 
	{
		return settleStatus;
	}
	public void setServiceScopeName(String serviceScopeName) 
	{
		this.serviceScopeName = serviceScopeName;
	}

	public String getServiceScopeName() 
	{
		return serviceScopeName;
	}
	public void setREMARKS(String rEMARKS) 
	{
		this.rEMARKS = rEMARKS;
	}

	public String getREMARKS() 
	{
		return rEMARKS;
	}
	public void setMCC(String mCC) 
	{
		this.mCC = mCC;
	}

	public String getMCC() 
	{
		return mCC;
	}
	public void setRATE(BigDecimal rATE) 
	{
		this.rATE = rATE;
	}

	public BigDecimal getRATE() 
	{
		return rATE;
	}
	public void setBankProvinceId(String bankProvinceId) 
	{
		this.bankProvinceId = bankProvinceId;
	}

	public String getBankProvinceId() 
	{
		return bankProvinceId;
	}
	public void setBankDistrictId(String bankDistrictId) 
	{
		this.bankDistrictId = bankDistrictId;
	}

	public String getBankDistrictId() 
	{
		return bankDistrictId;
	}
	public void setBankCityId(String bankCityId) 
	{
		this.bankCityId = bankCityId;
	}

	public String getBankCityId() 
	{
		return bankCityId;
	}
	public void setBankAccountType(String bankAccountType) 
	{
		this.bankAccountType = bankAccountType;
	}

	public String getBankAccountType() 
	{
		return bankAccountType;
	}
	public void setBankDot(String bankDot) 
	{
		this.bankDot = bankDot;
	}

	public String getBankDot() 
	{
		return bankDot;
	}
	public void setMaxFee(Integer maxFee) 
	{
		this.maxFee = maxFee;
	}

	public Integer getMaxFee() 
	{
		return maxFee;
	}
	public void setBusinessLicenseNo(String businessLicenseNo) 
	{
		this.businessLicenseNo = businessLicenseNo;
	}

	public String getBusinessLicenseNo() 
	{
		return businessLicenseNo;
	}
	public void setAuthTrxType(String authTrxType) 
	{
		this.authTrxType = authTrxType;
	}

	public String getAuthTrxType() 
	{
		return authTrxType;
	}
	public void setAuthCardType(String authCardType) 
	{
		this.authCardType = authCardType;
	}

	public String getAuthCardType() 
	{
		return authCardType;
	}
	public void setExamineResult(String examineResult) 
	{
		this.examineResult = examineResult;
	}

	public String getExamineResult() 
	{
		return examineResult;
	}
	public void setChinaRegionId(String chinaRegionId) 
	{
		this.chinaRegionId = chinaRegionId;
	}

	public String getChinaRegionId() 
	{
		return chinaRegionId;
	}
	public void setIdCardNumber(String idCardNumber) 
	{
		this.idCardNumber = idCardNumber;
	}

	public String getIdCardNumber() 
	{
		return idCardNumber;
	}
	public void setPASSWD(String pASSWD) 
	{
		this.pASSWD = pASSWD;
	}

	public String getPASSWD() 
	{
		return pASSWD;
	}
	public void setBusinessLicenseBeginTime(Date businessLicenseBeginTime) 
	{
		this.businessLicenseBeginTime = businessLicenseBeginTime;
	}

	public Date getBusinessLicenseBeginTime() 
	{
		return businessLicenseBeginTime;
	}
	public void setBusinessLicenseEndTime(Date businessLicenseEndTime) 
	{
		this.businessLicenseEndTime = businessLicenseEndTime;
	}

	public Date getBusinessLicenseEndTime() 
	{
		return businessLicenseEndTime;
	}
	public void setArtificialPerson(String artificialPerson) 
	{
		this.artificialPerson = artificialPerson;
	}

	public String getArtificialPerson() 
	{
		return artificialPerson;
	}
	public void setCompanyRegistrationAddress(String companyRegistrationAddress) 
	{
		this.companyRegistrationAddress = companyRegistrationAddress;
	}

	public String getCompanyRegistrationAddress() 
	{
		return companyRegistrationAddress;
	}
	public void setArtificialPersonCardNumber(String artificialPersonCardNumber) 
	{
		this.artificialPersonCardNumber = artificialPersonCardNumber;
	}

	public String getArtificialPersonCardNumber() 
	{
		return artificialPersonCardNumber;
	}
	public void setTaxRegistrationNo(String taxRegistrationNo) 
	{
		this.taxRegistrationNo = taxRegistrationNo;
	}

	public String getTaxRegistrationNo() 
	{
		return taxRegistrationNo;
	}
	public void setExaminePassTime(Date examinePassTime) 
	{
		this.examinePassTime = examinePassTime;
	}

	public Date getExaminePassTime() 
	{
		return examinePassTime;
	}
	public void setSubmitExamineTime(Date submitExamineTime) 
	{
		this.submitExamineTime = submitExamineTime;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8") 
	public Date getSubmitExamineTime() 
	{
		return submitExamineTime;
	}
	public void setSubmitReexamineTime(Date submitReexamineTime) 
	{
		this.submitReexamineTime = submitReexamineTime;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8") 
	public Date getSubmitReexamineTime() 
	{
		return submitReexamineTime;
	}
	public void setMerchantSource(String merchantSource) 
	{
		this.merchantSource = merchantSource;
	}

	public String getMerchantSource() 
	{
		return merchantSource;
	}
	public void setReexamineResult(String reexamineResult) 
	{
		this.reexamineResult = reexamineResult;
	}

	public String getReexamineResult() 
	{
		return reexamineResult;
	}
	public void setProductShort(String productShort) 
	{
		this.productShort = productShort;
	}

	public String getProductShort() 
	{
		return productShort;
	}
	public void setChangeReason(String changeReason) 
	{
		this.changeReason = changeReason;
	}

	public String getChangeReason() 
	{
		return changeReason;
	}
	public void setConvertCount(Integer convertCount) 
	{
		this.convertCount = convertCount;
	}

	public Integer getConvertCount() 
	{
		return convertCount;
	}
	public void setWithdrawStatus(String withdrawStatus) 
	{
		this.withdrawStatus = withdrawStatus;
	}

	public String getWithdrawStatus() 
	{
		return withdrawStatus;
	}
	public void setIncreaseLimitStatus(String increaseLimitStatus) 
	{
		this.increaseLimitStatus = increaseLimitStatus;
	}

	public String getIncreaseLimitStatus() 
	{
		return increaseLimitStatus;
	}
	public void setFreezeStatus(String freezeStatus) 
	{
		this.freezeStatus = freezeStatus;
	}

	public String getFreezeStatus() 
	{
		return freezeStatus;
	}
	public void setRcexamineResult(String rcexamineResult) 
	{
		this.rcexamineResult = rcexamineResult;
	}

	public String getRcexamineResult() 
	{
		return rcexamineResult;
	}
	public void setAuditRecord(String auditRecord) 
	{
		this.auditRecord = auditRecord;
	}

	public String getAuditRecord() 
	{
		return auditRecord;
	}
	public void setCreditMaxFee(Integer creditMaxFee) 
	{
		this.creditMaxFee = creditMaxFee;
	}

	public Integer getCreditMaxFee() 
	{
		return creditMaxFee;
	}
	public void setCreditRate(BigDecimal creditRate) 
	{
		this.creditRate = creditRate;
	}

	public BigDecimal getCreditRate() 
	{
		return creditRate;
	}
	public void setDebitMaxFee(Integer debitMaxFee) 
	{
		this.debitMaxFee = debitMaxFee;
	}

	public Integer getDebitMaxFee() 
	{
		return debitMaxFee;
	}
	public void setDebitRate(BigDecimal debitRate) 
	{
		this.debitRate = debitRate;
	}

	public BigDecimal getDebitRate() 
	{
		return debitRate;
	}
	public void setT0CreditMaxFee(Integer t0CreditMaxFee) 
	{
		this.t0CreditMaxFee = t0CreditMaxFee;
	}

	public Integer getT0CreditMaxFee() 
	{
		return t0CreditMaxFee;
	}
	public void setT0CreditRate(BigDecimal t0CreditRate) 
	{
		this.t0CreditRate = t0CreditRate;
	}

	public BigDecimal getT0CreditRate() 
	{
		return t0CreditRate;
	}
	public void setT0DebitRate(BigDecimal t0DebitRate) 
	{
		this.t0DebitRate = t0DebitRate;
	}

	public BigDecimal getT0DebitRate() 
	{
		return t0DebitRate;
	}
	public void setT0DebitMaxFee(Integer t0DebitMaxFee) 
	{
		this.t0DebitMaxFee = t0DebitMaxFee;
	}

	public Integer getT0DebitMaxFee() 
	{
		return t0DebitMaxFee;
	}
	public void setProcedureFee(BigDecimal procedureFee) 
	{
		this.procedureFee = procedureFee;
	}

	public BigDecimal getProcedureFee() 
	{
		return procedureFee;
	}
	public void setTotalMoney(BigDecimal totalMoney) 
	{
		this.totalMoney = totalMoney;
	}

	public BigDecimal getTotalMoney() 
	{
		return totalMoney;
	}
	public void setLEVEL(String lEVEL) 
	{
		this.lEVEL = lEVEL;
	}

	public String getLEVEL() 
	{
		return lEVEL;
	}
	public void setParentPhone(String parentPhone) 
	{
		this.parentPhone = parentPhone;
	}

	public String getParentPhone() 
	{
		return parentPhone;
	}
	public void setIsChange(String isChange) 
	{
		this.isChange = isChange;
	}

	public String getIsChange() 
	{
		return isChange;
	}
	public void setIsTuiguang(Integer isTuiguang) 
	{
		this.isTuiguang = isTuiguang;
	}

	public Integer getIsTuiguang() 
	{
		return isTuiguang;
	}
	public void setWkRate(BigDecimal wkRate) 
	{
		this.wkRate = wkRate;
	}

	public BigDecimal getWkRate() 
	{
		return wkRate;
	}
	public void setIsValid(String isValid) 
	{
		this.isValid = isValid;
	}

	public String getIsValid() 
	{
		return isValid;
	}
	public void setValidTime(Date validTime) 
	{
		this.validTime = validTime;
	}

	public Date getValidTime() 
	{
		return validTime;
	}
	public void setYkRate(String ykRate) 
	{
		this.ykRate = ykRate;
	}

	public String getYkRate() 
	{
		return ykRate;
	}
	public void setYkBalance(BigDecimal ykBalance) 
	{
		this.ykBalance = ykBalance;
	}

	public BigDecimal getYkBalance() 
	{
		return ykBalance;
	}
	public void setUpgradeCodeNum(String upgradeCodeNum) 
	{
		this.upgradeCodeNum = upgradeCodeNum;
	}

	public String getUpgradeCodeNum() 
	{
		return upgradeCodeNum;
	}

    public String getAgentNo() {
		return agentNo;
	}

	public void setAgentNo(String agentNo) {
		this.agentNo = agentNo;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getDirect() {
		return direct;
	}

	public void setDirect(String direct) {
		this.direct = direct;
	}

	

	public String getParamAgentId() {
		return paramAgentId;
	}

	public void setParamAgentId(String paramAgentId) {
		this.paramAgentId = paramAgentId;
	}
	
	
	public String getLiveness() {
		return liveness;
	}

	public void setLiveness(String liveness) {
		this.liveness = liveness;
	}
	
	
	public BigDecimal getSumMoney() {
		return sumMoney;
	}

	public void setSumMoney(BigDecimal sumMoney) {
		this.sumMoney = sumMoney;
	}
	
	
	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(String moneyType) {
		this.moneyType = moneyType;
	}
	
	public String getBorkerId() {
		return borkerId;
	}

	public void setBorkerId(String borkerId) {
		this.borkerId = borkerId;
	}
	
	
	
	public String getIsActive() {
		return isActive;
	}

	public void setIsActive(String isActive) {
		this.isActive = isActive;
	}
	
	

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iD", getID())
            .append("merchantNo", getMerchantNo())
            .append("merchantCnName", getMerchantCnName())
            .append("merchantEnName", getMerchantEnName())
            .append("merchantShortName", getMerchantShortName())
            .append("domicileProvince", getDomicileProvince())
            .append("domicileCity", getDomicileCity())
            .append("domicileDistrict", getDomicileDistrict())
            .append("cAPITAL", getCAPITAL())
            .append("provinceId", getProvinceId())
            .append("cityId", getCityId())
            .append("districtId", getDistrictId())
            .append("addrDetail", getAddrDetail())
            .append("cOORDINATE", getCOORDINATE())
            .append("linkPerson", getLinkPerson())
            .append("linkPhone", getLinkPhone())
            .append("merchantType", getMerchantType())
            .append("bankDetail", getBankDetail())
            .append("bankAccountName", getBankAccountName())
            .append("merchantMcc", getMerchantMcc())
            .append("merchantStatus", getMerchantStatus())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("settleCycle", getSettleCycle())
            .append("agentId", getAgentId())
            .append("agentSalesName", getAgentSalesName())
            .append("riskControlGrade", getRiskControlGrade())
            .append("invoicePrintName", getInvoicePrintName())
            .append("createTime", getCreateTime())
            .append("bankSettleType", getBankSettleType())
            .append("eMAIL", getEMAIL())
            .append("pHONE", getPHONE())
            .append("serviceScopeItem", getServiceScopeItem())
            .append("bankAccount", getBankAccount())
            .append("cORPORATE", getCORPORATE())
            .append("sTATUS", getSTATUS())
            .append("bankCode", getBankCode())
            .append("useStatus", getUseStatus())
            .append("createUserId", getCreateUserId())
            .append("salesmanId", getSalesmanId())
            .append("departmentCode", getDepartmentCode())
            .append("settleStatus", getSettleStatus())
            .append("serviceScopeName", getServiceScopeName())
            .append("rEMARKS", getREMARKS())
            .append("mCC", getMCC())
            .append("rATE", getRATE())
            .append("bankProvinceId", getBankProvinceId())
            .append("bankDistrictId", getBankDistrictId())
            .append("bankCityId", getBankCityId())
            .append("bankAccountType", getBankAccountType())
            .append("bankDot", getBankDot())
            .append("maxFee", getMaxFee())
            .append("businessLicenseNo", getBusinessLicenseNo())
            .append("authTrxType", getAuthTrxType())
            .append("authCardType", getAuthCardType())
            .append("examineResult", getExamineResult())
            .append("chinaRegionId", getChinaRegionId())
            .append("idCardNumber", getIdCardNumber())
            .append("pASSWD", getPASSWD())
            .append("businessLicenseBeginTime", getBusinessLicenseBeginTime())
            .append("businessLicenseEndTime", getBusinessLicenseEndTime())
            .append("artificialPerson", getArtificialPerson())
            .append("companyRegistrationAddress", getCompanyRegistrationAddress())
            .append("artificialPersonCardNumber", getArtificialPersonCardNumber())
            .append("taxRegistrationNo", getTaxRegistrationNo())
            .append("examinePassTime", getExaminePassTime())
            .append("submitExamineTime", getSubmitExamineTime())
            .append("submitReexamineTime", getSubmitReexamineTime())
            .append("merchantSource", getMerchantSource())
            .append("reexamineResult", getReexamineResult())
            .append("productShort", getProductShort())
            .append("changeReason", getChangeReason())
            .append("convertCount", getConvertCount())
            .append("withdrawStatus", getWithdrawStatus())
            .append("increaseLimitStatus", getIncreaseLimitStatus())
            .append("freezeStatus", getFreezeStatus())
            .append("rcexamineResult", getRcexamineResult())
            .append("auditRecord", getAuditRecord())
            .append("creditMaxFee", getCreditMaxFee())
            .append("creditRate", getCreditRate())
            .append("debitMaxFee", getDebitMaxFee())
            .append("debitRate", getDebitRate())
            .append("t0CreditMaxFee", getT0CreditMaxFee())
            .append("t0CreditRate", getT0CreditRate())
            .append("t0DebitRate", getT0DebitRate())
            .append("t0DebitMaxFee", getT0DebitMaxFee())
            .append("procedureFee", getProcedureFee())
            .append("totalMoney", getTotalMoney())
            .append("lEVEL", getLEVEL())
            .append("parentPhone", getParentPhone())
            .append("isChange", getIsChange())
            .append("isTuiguang", getIsTuiguang())
            .append("wkRate", getWkRate())
            .append("isValid", getIsValid())
            .append("validTime", getValidTime())
            .append("ykRate", getYkRate())
            .append("ykBalance", getYkBalance())
            .append("upgradeCodeNum", getUpgradeCodeNum())
            .toString();
    }

	

	//为倒序排序重写compareTo方法
		@Override
		public int compareTo(HatchetMerchant o) {
			if(this.sumMoney.doubleValue() > o.getSumMoney().doubleValue()) {	
					return -1;	
			}else if (this.sumMoney.doubleValue()==o.getSumMoney().doubleValue()) {
				return 0;
			} else {
				return 1;
			}		
		}
}
